<%@page import="com.qdu.impl.BookinformationImpl"%>
<%@page import="java.util.List"%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>计算机图书网上专营店</TITLE>
        <META http-equiv=Content-Type content="text/html; charset=UTF-8">
         
           
            <META content="MSHTML 6.00.2900.3059" name=GENERATOR>
    </HEAD>


    <STYLE>
            #div0{
                width:100%;
                height:50px;
                background-color:#FFCCCC;
                position:fixed;
                z-index:10;
                margin:-10px -10px 0px -10px;
            }
            #top-page{
                float:right;
                height:10px;
                white-space:nowrap;
                margin:25px 0px 0px 0px;
            }	
            #logo{
                height:50px;
                width:50px;
                float:left;
            }
            
        </style>

    
    <%
    String message = (String)request.getAttribute("message");
            if(message == null){
                            message = "";
            }
            if (!message.trim().equals("")){
                    out.println("<script language='javascript'>");
                    out.println("alert('"+message+"');");
                    out.println("</script>");
            }
            request.removeAttribute("message");

    %>  
    <BODY leftMargin=0 topMargin=0 bgColor=#F0FFFF>
        
         <div id="div0">
            <div id="logo">
                <img src="../img/logo.jpg" style="width:100%;height:100%; margin-left:15%">
            </div>
            <div id="top-page" align="right" style="margin-right:5%">
                <div align=center>
                   <a href="/J02_T13_P04/index.jsp"><FONT color=#ffffff>首页</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="../newbook.jsp"><FONT color=#ffffff>最新图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/fenlei.jsp"><FONT color=#ffffff>图书分类</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/allbooklist.jsp"><FONT color=#ffffff>全部图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/admin/login.jsp" target=_blank><FONT color=#ffffff>管理入口</FONT></a>
                </div>
            </div>
        </div>
        
        
    
    


    <TABLE cellSpacing=0 cellPadding=0 width=779 align=center
           border=0>
        <TBODY>
            <TR>
                <TD width=779 height="329" vAlign=top>
                    <%
                            String id=null;
                            id=request.getParameter("id").trim();
                            if(id.equals("")){
                            id=(String)request.getAttribute("id");
                            }
                            List list=new BookinformationImpl().getBookInfo(Integer.parseInt(id));
                    %>	
                    
                   
  
                    
                    <table border="0" align="center" width="70%">
                        <tr>
                            <td align="center" colspan="2"><br><h2>图书详细信息</h2></td>
                        </tr>
                    </table>

                    <table width="65%" height="271" border="1" align="center">
                        <tr>
                            <td width="35%" height="256" border="0">
                                <table width="98%" height="242" border="0" align="center" bordercolor="#66CCCC">
                                    <tr>
                                        <td width="26%" align="center" ><%=list.get(1).toString() %></td>
                                    </tr>
                                    <tr>
                                        <td width="26%" height="214" align="center"><img src=<%=list.get(2).toString() %> width=150 height=200></td>
                                    </tr>
                                </table>	
                            </td>
                            <td width="65%" height="256" border="0">
                                <table width="100%" height="257" border="1" align="left">
                                    <tr>
                                        <td width="39%" height="40" align="center">作者:</td>
                                        <td align="center" ><%=list.get(4).toString() %></td>
                                    </tr>
                                    <tr>
                                        <td width="39%" height="34" align="center">出版社:</td>
                                        <td align="center" ><%=list.get(4).toString() %></td>
                                    </tr>
                                    <tr>
                                        <td width="39%" height="26" align="center">价格:</td>
                                        <td align="center" ><%=list.get(5).toString() %></td>
                                    </tr>
                                    <tr>
                                        <td width="39%" height="31" align="center">类别:</td>
                                        <td align="center" ><%=list.get(6).toString() %></td>
                                    </tr>
                                    <tr>
                                        <td width="39%" height="32" align="center">光盘:</td>
                                        <td align="center" ><%=list.get(7).toString() %></td>
                                    </tr>

                                    <tr>
                                        <td width="39%" height="41" align="center">折率:</td>
                                        <td align="center" ><%=list.get(8).toString() %></td>
                                    </tr>
                                    <tr>
                                        <td width="39%" height="35" align="center">推荐程度:</td>
                                        <td align="center" ><%=list.get(9).toString() %></td>
                                    </tr>

                                </table>
                            </td> 

                        </tr> 


                    </table>
                    <table border="0" align="center" width="65%">
                        <tr>
                            
                            <td width="56%" height="35" align="right" ><a href="/J02_T13_P04/commont.jsp?id=<%=list.get(0).toString() %>"><strong>查看评论</strong></a></td>
                            <td width="22%" align="center" ><a href="/J02_T13_P04/ShouCang.jsp?method=book&id=<%=list.get(0).toString() %>"><strong>放入收藏夹</strong></a></td>
                            <td width="22%" align="center" ><a href="/J02_T13_P04/GouWu.jsp?method=book&id=<%=list.get(0).toString() %>"><strong>放入购物车</strong></a></td>
                        </tr>
                    </table>

    </TABLE><BR><BR>
<div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
<div style="background:#FFCCCC;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
<div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>


   </BODY></HTML>
